//
//  NoCommentView.m
//  Shengzhuli
//
//  Created by FXGuo on 2017/4/17.
//  Copyright © 2017年 kamangkeji. All rights reserved.
//

#import "NoCommentView.h"

@interface NoCommentView ()
@property (weak, nonatomic) IBOutlet UIImageView *imageView;

@property (weak, nonatomic) IBOutlet UILabel *titleLab;


@end

@implementation NoCommentView

+ (instancetype)noCommentView
{
    return [[[NSBundle mainBundle]loadNibNamed:NSStringFromClass([NoCommentView class]) owner:nil options:nil]lastObject];
}

+ (instancetype)noMessageView
{
    NoCommentView *messageView = [[[NSBundle mainBundle]loadNibNamed:NSStringFromClass([NoCommentView class]) owner:nil options:nil]lastObject];
    messageView.imageView.image = GetImage(@"暂无消息记录");
    messageView.titleLab.textColor = [UIColor grayColor];
    messageView.titleLab.text = @"暂无消息";
    return messageView;
}

@end
